package com.dragee.modules.work.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dragee.common.PageUtils;
import com.dragee.common.R;
import com.dragee.modules.work.entity.CompetitionProjectEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 项目
 *
 * @author tc
 * @email tc@mail.com
 * @date 2023-04-24 09:40:38
 */
public interface CompetitionProjectService extends IService<CompetitionProjectEntity> {

    /**
    * 列表
    */
    PageUtils queryPage(Map<String, Object> params);

    List<CompetitionProjectEntity> getProjectByCompetition (String competition) ;

    R importProject(MultipartFile file, String competitionId) throws IOException;
}

